package com.ttbj.pay.dao;

import org.apache.ibatis.annotations.Param;

import com.ttbj.pay.po.Pay;

public interface PayMapper {
    int deleteByPrimaryKey(Integer payId);

    int insert(Pay record);

    int insertSelective(Pay record);

    Pay selectByPrimaryKey(Integer payId);

    int updateByPrimaryKeySelective(Pay record);

    int updateByPrimaryKey(Pay record);
    
    Pay selectByOrderId(@Param("orderId") Long orderId); //根据订单号查询
}